package com.baofu.paycore.common.exception;


/**
 * service 异常
 *
 * User: LZQ
 * Date: 14-11-20
 */
public class PayCoreServiceException extends PayCoreBaseException {
    public PayCoreServiceException(ServiceErrorCode errorCode, Throwable cause) {
        this(errorCode, null, cause);
    }

    public PayCoreServiceException(ServiceErrorCode errorCode, String extraMsg, Throwable cause) {
        super(errorCode, extraMsg, cause);
    }

    public PayCoreServiceException(ServiceErrorCode errorCode) {
        this(errorCode, null, null);
    }

    public PayCoreServiceException(ServiceErrorCode errorCode, String extraMsg) {
        this(errorCode, extraMsg, null);
    }
}
